home *** CD-ROM | disk | FTP | other *** search
- function interrupt()
- {
- _parent.header.footer_mc.gotoAndStop(1);
- _parent.header.mcDisabler._visible = false;
- clearInterval(showExitBtnID);
- clearInterval(countdownID);
- }
- function startCountdown()
- {
- nmSeconds = nmStartSeconds = 10;
- countdownID = setInterval(this,"countdown",1000);
- showExitBtnID = setInterval(this,"showExitBtn",4000);
- }
- exit_btn._alpha = 50;
- exit_btn.enabled = false;
- _parent.header.footer_mc.gotoAndStop(2);
- startCountdown();
- countdown = function()
- {
- nmSeconds--;
- if(nmSeconds == 5)
- {
- showExitBtn();
- }
- else if(nmSeconds == 0)
- {
- clearInterval(countdownID);
- getUrl("lingo: quit", "");
- }
- };
- showExitBtn = function()
- {
- exit_btn.enabled = true;
- exit_btn._alpha = 100;
- clearInterval(showExitBtnID);
- };
- exit_btn.onRelease = function()
- {
- getUrl("lingo: quit", "");
- };
- books_btn.onRelease = function()
- {
- this._parent.interrupt();
- this._parent._parent.movie_load("added_value.swf");
- };
-